import {ref} from "vue";
export default function useCount(){
    const count = ref(0)
    const add = () => {
        console.log(props, context)
        count.value++
    }
    const sub = () => {
        console.log(props, context)
        count.value--
    }
    return {count,add,sub}
}
